Part Number Hot Search : 
NTE342 HT46R652 MAX3030 LT1933E 824001 LMV93 ET4000 OP04CZ
Product Description
Full Text Search
 

To Download HT6523 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 HT6523 PS/2 Mouse Controller
Features
* * * *
Compatible with IBM PS/2 mouse 16 pins dual-in-line package Build in oscillator circuit with an external resistor 6MHz clock frequency
* * *
Reduce the application circuit parts Three key-switches and four photo-couples inputs Supports test mode operating
General Description
The HT6523 is a PS/2 compatible mouse controller IC. Capable of driving up to 3 key-switches and 4 photo-couplers directly into a 6-pin connector line.
Pin Assignment
Pin Description
Pin No.
1 2 3 4 5 6 7 8
Pin Name
NC TEST RESET OSC NC CLK DATA VSS
I/O
-- I I I -- I/O I/O I
Description
If TEST is floating or connected to VSS, then the chip is under the normal operating. If TEST is connected to VDD, it will be operate under the TEST mode Input to reset internal LSI OSC is connected an external resistor to VDD to generate the 6MHz system clock
Synchronous clock signal. The mouse generates the clock signal when sending data to and receiving data from system Bidirection data transmission line Negative power supply, GND
1
2nd June '96
HT6523
Pin No.
9 10 11 12 13 14 15 16
Pin Name
RB MB LB X1 X2 Y1 Y2 VDD
I/O
Description
Three key-switches are pulled low if button released and connected to VDD when the button is pressed. In TEST mode, MB, LB reflect X1, X2 signal in TTL while RB is connected to VSS or floating. and MB, LB reflect Y1, Y2 signal in TTL while RB is connected to VDD Mouse interface input terminal. Four photo-couplers signals denote UP, DOWN, LEFT and RIGHT state Positive power supply
I
I
I
Absolute Maximum Ratings
Supply Voltage ..............................-0.3V to 5.5V Input Voltage................. VSS-0.3 to VDD+0.3V Storage Temperature................ -50C to 125C Operating Temperature............... -25C to 70C
D.C Characteristics
Symbol
VDD IDD VIL
Parameter VDD
Operating Voltage Operating Current Input Low Voltage for I/O Ports Input High Voltage for I/O Ports Input Low Voltage (RESET) -- 5V 3V 5V 3V 5V 3V 5V Input High Voltage (RESET) Input Low Voltage (X1, X2, Y1, Y2) Input High Voltage (X1, X2, Y1, Y2) I/O Ports Sink Current 3V 5V 3V 5V 3V 5V 3V 5V
Test Condition Condition
-- fSYS=6MHz, No Load --
Min. Typ. Max. Unit
2.4 -- 0 0 -- -- -- -- -- -- -- -- -- -- -- -- -- -- 2.5 6 5.5 5 0.9 1.5 3 5 0.7 1.3 3 5 1 2 3 5 -- -- mA V V V V V V mA V
VIH
--
2.1 3.5
VIL1
--
0 0
VIH1
--
2.3 3.8
VIL2
--
0 0
VIH2
-- VDD=3V, VOL=0.3V VDD=5V, VOL=0.5V
2 3 1.5 4
IOL
2
2nd June '96
HT6523
Test Condition VDD
IOH I/O Ports Source Current 3V 5V CLK, DATA Sink Current 3V 5V CLK, DATA Source Current Pull-High Resistance of CLK, DATA Pull-Low Resistance of TEST, RB, MB, LB Pull-Low Resistance of X1, X2, Y1, Y2 3V 5V 3V 5V 3V 5V 3V 5V
Symbol
Parameter
Min. Typ. Max. Unit
-1 -2 8 8 -1.5 -1.5 5 3 10 8 60 35 -1.5 -3 -- -- -2.5 -2.5 7.5 4.7 30 17 100 60 -- -- -- -- -- -- 10 6.3 50 35 160 90 K K K mA mA
Condition
VDD=3V, VOH=2.7V VDD=5V, VOH=4.5V VDD=3V, VOL=0.3V VDD=5V, VOL=0.5V VDD=3V, VOH=2.7V VDD=5V, VOH=4.5V -- -- -- -- -- -- mA
IOL1
IOH1
RPH
RPL
RPL1
A.C Characteristics
Symbol
fSYS tRES
Parameter
System Clock (RC OSC) External Reset Low Pulse Width
Test Condition
VDD=3V, ROSC=120K VDD=5V, ROSC=120K --
Min. Typ. Max. Unit
5.4 5.4 1 6 6 -- 6.6 6.6 -- MHz MHz
S
Functional Description
Power on reset
The Mouse logic generates a power on reset at power up after 600 millisecond20%.
Modes of operation
* Reset
report rate of 100, 6 counts per mm at 320 DPI or 4 counts per mm at 200 DPI, and disable itself. No further action occurs until a command is sent from the host.
* Stream
After power up or when receiving a reset command, CLK and DATA lines can go to a positive level. The mouse waits between 300 milliseconds and 500 milliseconds and sends AA to the host, followed by a device ID of 00. After reset the mouse is set to its default values: Incremental stream mode, 1:1 scaling,
In this mode, a data report is transmitted to the system if a switch is pressed or released, or if at least one count of movement has been detected. The maximum rate of transfer is the programmed sample rate.
* Remote
In this mode, data is transmitted only in response to a read data command.
3
2nd June '96
HT6523
* Wrap
In this mode, any byte of data sent by the system, except hex EC or hex FF, is returned by the mouse.
Data transmission
tenth clock, the mouse completes the transmission. Following a transmission, the host can inhibit the mouse until it services the input or until it requests to send a response if necessary.
* Data input
During a data transmission, CLK is used to clock serial data. The mouse generates the clocking signal when sending data to and receiving data from system. The system requests the mouse receive system data output by forcing the data line to an inactive level and allowing CLK to go to an active level. Communication is bi-direction using the clock and data signal lines. The signal for each of these lines comes from open collector devices, allowing either the mouse or the system to force a line to the inactive level. During a non-transmission state, CLK and DATA are both held at an active level.
* Data output
When the host is ready to send data to the mouse, it first checks to see if the mouse is transmitting data. If the mouse is transmitting, the host can override the mouse output by forcing CLK low before the tenth clock. If the mouse transmits beyond this, the host receives the data. If the mouse is not transmitting or if the host overrides the mouse output, the host forces CLK to an inactive level for a period of not less than 100 us while preparing for output. When the system is ready to output "0" start bit (data line is low), it allows CLK to go to an active level. The mouse checks for this state not to exceed every 10 ms. If request-to-send is detected, the mouse clocks 11 bits. After the tenth clock, the mouse checks for a high on the DATA line and if found the mouse forces DATA low and clocks once more. This signals the host to return to the ready state when it can accept input or go to the inhibit mode until ready. If DATA is found at an inactive level following clock 10, a framing error has occourred and the mouse continues to clock until DATA is high, then clocks the line control bit and request a resend. For host commands and data transmission that requires a response, the host waits for the mouse to respond before sending its next output. The response must be within 20 ms, unless the host inhibits the mouse output or inhibits the data transmissions from the system that require a response. If the host initiates a command or data transmission and the response is invalid or has a parity error, the host retransmits the command or data. If after two retries the response is still invalid or has a parity error, the host reset the mouse.
When the mouse is ready to transmit, it checks for an inhibit or a host request-to-send status on CLK and DATA. If CLK is low, data is continuously updated in the mouse and no transmissions are made. If CLK is high and DATA is low (request-to-send), the data is also updated in the mouse, the mouse inputs the host data, and no transmissions are started by the mouse until CLK and DATA are both high. If CLK and DATA are both high, the mouse proceeds to output "0" start bit, 8 data bits, parity bit, and stop bit if a transmission is required. Data is valid prior to the falling edge of CLK and beyond the rising edge of CLK. During transmission, the mouse checks for line contention by checking for an inactive level on CLK at intervals not to exceed 100 us. Contention occurs when the host lowers CLK to inhibit the mouse output after the mouse starts a transmission. If this occurs before the rising edge of the tenth clock (parity bit), the mouse internally stores its data packet in the mouse buffer and returns both DATA and CLK high. If there is no contention by the
4
2nd June '96
HT6523
Data format Commands
* The following table lists all the valid com-
The following data report format is valid for the stream and remote modes and is 3 bytes long:
mands:
Byte
3
Bit
7 6-1 0 7 6-1 0 7 6 5 4 3 2 1 0
Description
MSB of Y Data Y Data LSB of Y Data MSB of X Data X Data LSB of X Data Y Data Overflow 1=Overflow X Data Overflow 1=Overflow Y Data sign 1=Negative X Data sign 1=Negative Reserved always=1 Reserved for middle Button Right Button Status 1=Pressed Left Button Status 1=Pressed
Hex Code
FF FE F6 F5 F4 F3 F2 F0 EE EC EB EA E9 E8 E7 E6
Command
Reset Resend Set default Disable Enable Set sampling rate Read device type Set remote mode Set wrap mode Reset wrap mode Read data Set stream mode Status request Set resolution Set scaling 2:1 Reset scaling
2
1
5
2nd June '96
HT6523
* The following describes valid command:
Hex Code
FF FE
Command
Reset Resend
Description
This command cause the mouse to enter the reset mode and do an internal self-test The system can send this command when it detects an error in any transmission from the mouse. The "Resend" command could be sent following a mouse transmission and before the system enables the interface allowing the next mouse output. On receipt of "Resend", the mouse retransmits the previous three bytes if the previous output was a three byte packet. The previous two bytes if the previous output was a two byte packet, and the previous one byte if the previous output was a one byte packet, unless the previous output from the mouse was a "Resent" command. In this case, the mouse will resend the previous output prior to the "Resend" command. If a "Resend" command is received by the mouse from the host immediately following a three byte data packet transmission from the mouse to the host while the mouse is in stream mode. the mouse should resend the three byte data packet prior to clearing the count accumulators This command reinitializes all conditions to the power-on default state This command is used in the stream mode to stop transmissions initiated from the mouse. It responds to all other commands while disabled. If the mouse is in the stream mode, it must be disabled before sending it any command that requires a response Begin transmission, if in stream mode In the stream mode, this command sets the sampling rate to the value indicated by bytes hex XX shown in the following figure: Second Byte hex XX (sample rate): hex 0A (10/sec), hex 14 (20/sec), hex 28 (40/sec), hex 3C (60/sec), hex 50 (80/sec), hex 64 (100/sec), hex C8 (200/sec)
F6 F5
Set Default Disable
F4 F3, XX
Enable Set Sampling Rate
F2 F0 EE EC EB
Read Device This command always receives a response of hex 00 Type Set Remote Mode Set Wrap Mode Reset Wrap Mode Read Data This command sets the remote mode. Data values are reported only in response to a Read Data command This command sets the wrap mode. This mode remains until hex FF or hex EC is received This command resets the wrap mode This command requests that all data defined in the data packet format be transmitted. This command is executed in either remote or stream mode. The data is transmitted even if there has been no movement since the last report or the switch status is unchanged. Following a Read Data command, the accumulators are cleared after a data transmission This command sets the stream mode
EA
Set Stream Mode
6
2nd June '96
HT6523
Hex Code
E9
Command
Status Request
Description
When this command is issued by the system, the mouse responds with a 3-byte status report as follows:
Byte
3 2 1
Bit
0-7 0-7 7 6 5 4 3 2 1 0
Description
Current sampling rate Current resolution setting always = 0 0 = Stream mode, 1 = Remote mode 0 = Disabled, 1 = Enabled 0 = Scaling 1:1, 1 = Scaling 2:1 always = 0 1 = Left button pressed Reserved for middle button 1 = Right button pressed
E8, XX
Set Resolution
The mouse provides four resolutions selected by the second byte of this command as follows:
Second Byte hex XX
hex 00 hex 01 hex 02 hex 03 E7 Set Scaling 2:1
Resolution (Counts per mm) 200 DPI
1 2 4 8
320 DPI
1 3 6 12
400 DPI
2 4 8 16
Scaling is used to provide a course/fine tracking response. At the end of a sample interval in the stream mode, the current X and Y data values are converted to new values. The sign bits are not involved in this conversion. 2:1 scaling is only performed in stream mode. In response to a Read Data command, the mouse will transmit the current value before conversion
Input
0 1 2 3 4 5 N (>=6) E6 Reset Scaling This command restores 1:1 scaling
Output
0 1 1 3 6 9 2.0 x N
7
2nd June '96
HT6523
Timming Diagram
Data output
Timing Parameter
T1 T2 T3 T4 T5 T6 Data transition to the falling edge of CLK Rising edge of CLK to DATA transition Duration of CLK low Duration of CLK high Minimum time to MOUSE inhibit after clock 11 Maximum time to MOUSE inhibit after clock 11 to ensure MOUSE does not start another transmission
Min/Max
5/25 sec 5/T4-5 sec 30/50 sec 30/50 gsec > 0 sec < 50 sec
Data input
Timing Parameter
T7 T8 T9 Duration of CLK low Duration of CLK high Time from low to high CLK transition to time when MOUSE samples DATA line
Min/Max
30/50 sec 30/50 sec 5/25 sec
8
2nd June '96
HT6523
Application Circuit
9
2nd June '96


▲Up To Search▲   

 
Price & Availability of HT6523

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X